﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.Common;

namespace DAL
{
    public class DEducation:BaseProvider
    {
        public DataSet GetAllEducation()
        {
            DataSet dsEdu = new DataSet();
            try
            {
                string sSQLCommand = "select Id, EduName from T_EDUCATION_LEVEL";
                DbCommand cmd = Provider.GetSqlStringCommand(sSQLCommand);
                dsEdu = Provider.ExecuteDataSet(cmd);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            { 

            }
            return dsEdu;
        }
    }
}
